contains

@ExperimentalSinceKotoolsTypes(version = "4.2")
operator fun <T : Comparable<T>> NotEmptyRange<T>.contains(value: T): Boolean

Returns true if this range contains the given value, or returns false otherwise.